//
//  SJImagePicker.h
//  TraderMobileKYi
//
//  Created by shijiezhao on 15/6/17.
//  Copyright © 2017年 com.yeezsoft.init. All rights reserved.
//

#import <Foundation/Foundation.h>



typedef NS_ENUM(NSInteger , ImagePickerType)
{
    // 相册
    ImagePickerType_PhotoLibrary = 0,
    // 相机
    ImagePickerType_CameraDevice = 1
};

typedef void(^GainImageBlock)(UIImage *image);

@interface SJImagePickerTool : NSObject<UIImagePickerControllerDelegate,UINavigationControllerDelegate>


@property(nonatomic,copy)GainImageBlock gainImageBlock;


#pragma mark -- --------------------方法--------------------

- (void)createImagePickerWithController:(UIViewController *)controller imagePickerType:(ImagePickerType)ImagePickerType imageBlock:(GainImageBlock)imageBlock ;


@end
